package com.edward.model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Transient;

@Entity
public class RunCost {
	
	private int id;
	
	private Date date;
	
	private Date endDate;

	private int count;
	
	private double price;
	
	private double buySum;
	
	private double freight;
	
	private double insure;
	
	private double card;

	private double customs;
	
	private double stack;
	
	private double trailer;
	
	private double elec;
	
	private double seal;
	
	private double ark;
	
	private double presscar;
	
	private double bonus;
	
	private double others;
	
	private double sum;
	
	private String type;

	@Id
	@GeneratedValue
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	@Temporal(TemporalType.DATE)
	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public double getBuySum() {
		return buySum;
	}

	public void setBuySum(double buySum) {
		this.buySum = buySum;
	}

	public double getFreight() {
		return freight;
	}

	public void setFreight(double freight) {
		this.freight = freight;
	}

	public double getInsure() {
		return insure;
	}

	public void setInsure(double insure) {
		this.insure = insure;
	}

	public double getCard() {
		return card;
	}

	public void setCard(double card) {
		this.card = card;
	}

	public double getCustoms() {
		return customs;
	}

	public void setCustoms(double customs) {
		this.customs = customs;
	}

	public double getStack() {
		return stack;
	}

	public void setStack(double stack) {
		this.stack = stack;
	}

	public double getTrailer() {
		return trailer;
	}

	public void setTrailer(double trailer) {
		this.trailer = trailer;
	}

	public double getElec() {
		return elec;
	}

	public void setElec(double elec) {
		this.elec = elec;
	}

	public double getSeal() {
		return seal;
	}

	public void setSeal(double seal) {
		this.seal = seal;
	}

	public double getArk() {
		return ark;
	}

	public void setArk(double ark) {
		this.ark = ark;
	}

	public double getPresscar() {
		return presscar;
	}

	public void setPresscar(double presscar) {
		this.presscar = presscar;
	}

	public double getBonus() {
		return bonus;
	}

	public void setBonus(double bonus) {
		this.bonus = bonus;
	}

	public double getOthers() {
		return others;
	}

	public void setOthers(double others) {
		this.others = others;
	}

	public double getSum() {
		return sum;
	}

	public void setSum(double sum) {
		this.sum = sum;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	@Transient
	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	
	
	
	
	
	
	
}
